import { post, get } from '@/security/request'
import { Application_Form } from '@/utils/keyWord'

export function getPageApi(data: any): Promise<IPageResult<any>> {
    return get("/admin/anchor/apply/page",  data);
}

export function getOneApi(data: any): Promise<IRespResult<any>> {
    return get("/admin/anchor/apply/getOne",  data, Application_Form);
}

export function auditApi(data: any): Promise<IRespResult<any>> {
    return post("/admin/anchor/apply/audit",  data);
}
